import type { UserConfigExport } from "@tarojs/cli";
import { searchForWorkspaceRoot } from 'vite';

export default {

  mini: {},
  h5: {
    devServer: {
      port: 5173,
      open: false,
      fs: {
        allow: [searchForWorkspaceRoot(process.cwd())],
      },
    },
  }
} satisfies UserConfigExport<'vite'>
